Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > FullScreen | |||
Flash Lite 1.1.
Sets the size of the display area to be used for rendering. The size can be full screen or less-than full screen.
This command is supported only when Flash Lite is running in stand-alone mode. It is not supported when the player is running in the context of another application (for example, as a plug-in to a browser).
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
|
-1: Not supported. 0: Supported. |
The following example attempts to set the display area to full screen. If the returned value is other than 0, it sends the playback head to the frame labeled smallScreenMode:
status = fscommand2("FullScreen", true);
if(status != 0) {
gotoAndPlay("smallScreenMode");
}
|
|
|
|